connectiontest:connectiontest.cpp ../mqcommon/mq_msg.pb.cc ../mqcommon/mq_proto.pb.cc
	g++ -g -std=c++11 $^ -o $@ -lgtest -lprotobuf -lsqlite3 -I../mqthird/include
channeltest:channeltest.cpp ../mqcommon/mq_msg.pb.cc ../mqcommon/mq_proto.pb.cc
	g++ -g -std=c++11 $^ -o $@ -lgtest -lprotobuf -lsqlite3 -I../mqthird/include
consumertest:consumertest.cpp 
	g++ -g -std=c++11 $^ -o $@ -lgtest 
routetest:routetest.cpp ../mqcommon/mq_msg.pb.cc
	g++ -g -std=c++11 $^ -o $@ -lgtest -lprotobuf 
virtualhosttest:virtualhosttest.cpp ../mqcommon/mq_msg.pb.cc
	g++ -std=c++11 $^ -o $@ -lgtest -lprotobuf -lsqlite3
msgtest:msgtest.cpp ../mqcommon/mq_msg.pb.cc
	g++ -std=c++11 $^ -o $@ -lgtest -lprotobuf
bindingtest:bindingtest.cpp
	g++ -std=c++11 $^ -o $@ -lgtest -lsqlite3
queuetest:queuetest.cpp
	g++ -std=c++11 $^ -o $@ -lgtest -lsqlite3
exchangetest:exchangetest.cpp
	g++ -std=c++11 $^ -o $@ -lgtest -lsqlite3
filetest:filetest.cpp
	g++ -std=c++11 $^ -o $@
clean:
	rm -f consumertest